varignons theorem of moments problems